package com.lyh.domain.server;

import com.lyh.domain.bean.StockInfo;

import java.math.BigDecimal;

public interface StockInfoServer {

    StockInfo queryStockById(Long id);

    void subStockByGoodsId(Long goodsId, BigDecimal count);

}
